package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltSofteningPointVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltSofteningPointBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 沥青软化点试验仪Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryAsphaltSofteningPointService {

    /**
     * 查询沥青软化点试验仪
     */
    NLaboratoryAsphaltSofteningPointVo queryById(String id);

    /**
     * 查询沥青软化点试验仪列表
     */
    TableDataInfo<NLaboratoryAsphaltSofteningPointVo> queryPageList(NLaboratoryAsphaltSofteningPointBo bo, PageQuery pageQuery);

    /**
     * 查询沥青软化点试验仪列表
     */
    List<NLaboratoryAsphaltSofteningPointVo> queryList(NLaboratoryAsphaltSofteningPointBo bo);

    /**
     * 新增沥青软化点试验仪
     */
    Boolean insertByBo(NLaboratoryAsphaltSofteningPointBo bo);

    /**
     * 修改沥青软化点试验仪
     */
    Boolean updateByBo(NLaboratoryAsphaltSofteningPointBo bo);

    /**
     * 校验并批量删除沥青软化点试验仪信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils queryPage(Page page, String resId);
}
